package net.sos.translator;

import java.io.File;

/**
 * Define a contract for translating a plain text file object.
 * 
 * @author SANJAY
 *
 */
public interface ITextFileTranslator {

   void setTranslator(ITranslator translator);
   
   /**
    * Translate the text of the file represented by <code>inFile</code> and store
    * it in the file represented by <code>outFile</code>.
    * 
    * @param inFile 
    * @param outFile
    * @throws TranslationException
    */
   void translateFile(File inFile, File outFile) throws TranslationException;   
   
}
